<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="最爱古风小雷丘">
    <title></title>
    <style>
        body{
            margin: 0;
        }
        *{
            box-sizing: border-box;
        }
        .box{
            width: 630px;
            margin: 100px auto;
        }
        ul{
            margin: 0;
            padding: 0;
            list-style: none;
            width: 613px;;
            display: flex;
            flex-wrap: wrap;
            height: 255px;
            border: 1px solid;
        }
        li{
            width: 110px;
            height: 110px;
            text-align: center;
            line-height: 110px;
            border:1px solid;
             margin-left: 10px; 
             margin-top: 7px;
             border: 1px solid #7F7F7F;
        }
        li img{
            width: 100px;
            height: 100px;
            opacity: 0.5;
        }
        li:hover img{
            opacity: 1;
        }
    </style>
</head>
<body>
  <div class="box">
      <ul>
          <li><img src="img/1.jpg" alt=""></li>
          <li><img src="img/2.jpg" alt=""></li>
          <li><img src="img/3.jpg" alt=""></li>
          <li><img src="img/4.jpg" alt=""></li>
          <li><img src="img/5.jpg" alt=""></li>
          <li><img src="img/6.jpg" alt=""></li>
          <li><img src="img/7.jpg" alt=""></li>
          <li><img src="img/8.jpg" alt=""></li>
          <li><img src="img/9.jpg" alt=""></li>
          <li><img src="img/10.jpg" alt=""></li>
      </ul>
  </div>
</body>
</html>